<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PlugInList.ascx.cs" Inherits="admin_webparts_Plug_inForwarder_PlugInList" %>
<%@ Import Namespace="NTTHAO.Common.BL" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<%@ Import Namespace="NTTHAO.Web.BL.CommonPage" %>

<div class="tip">
	<h1><%=LanguageUtility.GetLanguageText("CONTENT_MANAGEMENT", Session)%></h1>
</div>

<div class="tip">
	<h2 style="padding-top: 0px;"><%=LanguageUtility.GetLanguageText("COMMON_CONTENT", Session)%></h2>
</div>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td align="left">
            <table border="1" cellpadding="0" cellspacing="0" class="grid" id="tbGrid">
                <tr>
                    <th width="42px">#</th>
                    <th><%=LanguageUtility.GetLanguageText("NAME", Session)%></th>
                    <th><%=LanguageUtility.GetLanguageText("URL", Session)%></th>
                </tr>
                <% if (this._CommonPageGroupList != null) for (int i = 0; i < this._CommonPageGroupList.Rows.Count; i++)
                   {
                       System.Data.DataRow row = this._CommonPageGroupList.Rows[i];
                       %>
                <tr class="<%=(i%2==0?"even":"odd") %>">
                    <td align="center"><%=i + 1 %></td>
                    <td><a href="?type=page&name=common&g=<%=row[CommonPageGroup.ID__COLUMN_NAME] %>"><b><%=row[CommonPageGroup.NAME__COLUMN_NAME]%></b></a></td>
                    <td align="center"><a href="?type=page&name=common&g=<%=row[CommonPageGroup.ID__COLUMN_NAME] %>">?type=page&amp;name=common&amp;g=<%=row[CommonPageGroup.ID__COLUMN_NAME]%></a></td>
                </tr>
                <%} %>
            </table>
        </td>
    </tr>
</table>
<% if (this._PluginList != null)
   {%>
<div class="tip" style="margin-top: 10px;">
	<h2 style="padding-top: 0px;"><%=LanguageUtility.GetLanguageText("OTHER_CONTENT", Session)%></h2>
</div>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td align="left">
            <table border="1" cellpadding="0" cellspacing="0" class="grid" id="Table1">
                <tr>
                    <th width="42px">#</th>
                    <th><%=LanguageUtility.GetLanguageText("NAME", Session)%></th>
                    <th><%=LanguageUtility.GetLanguageText("PLUGIN_URL_NAME", Session)%></th>
                </tr>
                <% if (this._PluginList != null) for (int i = 0; i < this._PluginList.Rows.Count; i++)
                       {
                           System.Data.DataRow row = this._PluginList.Rows[i];
                       %>
                <tr class="<%=(i%2==1?"even":"odd") %>">
                    <td align="center"><%=i + 1%></td>
                    <td><a href="?type=page&name=<%=row[Plugin.PLUGINURLNAME__COLUMN_NAME] %>"><b><%=row[Plugin.NAME__COLUMN_NAME]%></b></a></td>
                    <td align="center"><a href="?type=page&name=<%=row[Plugin.PLUGINURLNAME__COLUMN_NAME] %>"><%=row[Plugin.PLUGINURLNAME__COLUMN_NAME]%></a></td>
                </tr>
                <%} %>
            </table>
        </td>
    </tr>
</table>
<%} %>